<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      xine-lib-1.2.10
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="x265.html" title="x265-3.3">Prev</a>
          <p>
            x265-3.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="xvid.html" title="XviD-1.3.7">Next</a>
          <p>
            XviD-1.3.7
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="xine-lib" name="xine-lib"></a>xine-lib-1.2.10
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Xine Libraries
        </h2>
        <p>
          The <span class="application">Xine Libraries</span> package
          contains xine libraries. These are useful for interfacing with
          external plug-ins that allow the flow of information from the
          source to the audio and video hardware.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/xine/xine-lib-1.2.10.tar.xz">
                https://downloads.sourceforge.net/xine/xine-lib-1.2.10.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/xine-lib-1.2.10.tar.xz">
                ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/xine-lib-1.2.10.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: f4ac0fc08d74e1b8f3c389617ee9cfdc
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 5.0 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 102 MB (wtih API
                documentation)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.6 SBU (Using parallelism=4; with API
                documentation)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Xine Libraries Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../x/installing.html" title=
          "Chapter&nbsp;24.&nbsp;X Window System Environment">X Window
          System</a>, <a class="xref" href="ffmpeg.html" title=
          "FFmpeg-4.2.2">FFmpeg-4.2.2</a>, and at least one of: <a class=
          "xref" href="alsa.html" title="ALSA-1.2.1">ALSA-1.2.1</a>,
          <a class="xref" href="pulseaudio.html" title=
          "PulseAudio-13.0">PulseAudio-13.0</a>, or <a class="ulink" href=
          "http://jackaudio.org/">JACK</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="libdvdnav.html" title=
          "Libdvdnav-6.0.1">libdvdnav-6.0.1</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/aalib.html" title=
          "AAlib-1.4rc5">AAlib-1.4rc5</a>, <a class="xref" href="faad2.html"
          title="FAAD2-2.8.8">FAAD2-2.8.8</a>, <a class="xref" href=
          "flac.html" title="FLAC-1.3.3">FLAC-1.3.3</a>, <a class="xref"
          href="../x/gdk-pixbuf.html" title=
          "gdk-pixbuf-2.40.0">gdk-pixbuf-2.40.0</a>, <a class="xref" href=
          "../x/glu.html" title="GLU-9.0.1">GLU-9.0.1</a>, <a class="xref"
          href="../general/imagemagick.html" title=
          "ImageMagick-7.0.9-23">ImageMagick-7.0.9-23</a>, <a class="xref"
          href="liba52.html" title="Liba52-0.7.4">liba52-0.7.4</a>, <a class=
          "xref" href="libmad.html" title=
          "libmad-0.15.1b">libmad-0.15.1b</a>, <a class="xref" href=
          "../general/libmng.html" title="libmng-2.0.3">libmng-2.0.3</a>,
          <a class="xref" href="libtheora.html" title=
          "libtheora-1.1.1">libtheora-1.1.1</a>, <a class="xref" href=
          "../x/x7driver.html#libva" title="libva-2.6.1">libva-2.6.1</a>
          (requires <a class="xref" href="../x/glu.html" title=
          "GLU-9.0.1">GLU-9.0.1</a>), <a class="xref" href=
          "../x/x7driver.html#libvdpau" title=
          "libvdpau-1.3">libvdpau-1.3</a>, <a class="xref" href=
          "libvorbis.html" title="libvorbis-1.3.6">libvorbis-1.3.6</a>,
          <a class="xref" href="libvpx.html" title=
          "libvpx-1.8.2">libvpx-1.8.2</a>, <a class="xref" href=
          "../x/mesa.html" title="Mesa-19.3.4">Mesa-19.3.4</a>, <a class=
          "xref" href="../basicnet/samba.html" title=
          "Samba-4.11.6">Samba-4.11.6</a>, <a class="xref" href="sdl.html"
          title="SDL-1.2.15">SDL-1.2.15</a>, <a class="xref" href=
          "speex.html" title="Speex-1.2.0">Speex-1.2.0</a>, <a class="xref"
          href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> (to create the API
          documentation), <a class="xref" href="v4l-utils.html" title=
          "v4l-utils-1.18.0">v4l-utils-1.18.0</a> <a class="ulink" href=
          "http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</a>,
          <a class="ulink" href=
          "http://www.videolan.org/developers/libbluray.html">libbluray</a>,
          <a class="ulink" href=
          "http://sam.zoy.org/projects/libcaca/">libcaca</a>, <a class=
          "ulink" href=
          "http://www.videolan.org/developers/libdca.html">libdca</a>,
          <a class="ulink" href="http://fame.sourceforge.net">libFAME</a>,
          <a class="ulink" href=
          "http://sourceforge.net/projects/modplug-xmms/">libmodplug</a>,
          <a class="ulink" href="http://www.musepack.net/">musepack</a>,
          <a class="ulink" href=
          "https://ftp.gnu.org/gnu/vcdimager/">VCDImager</a>, and <a class=
          "ulink" href="http://www.wavpack.com/">WavPack</a>,
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/xine-lib">http://wiki.linuxfromscratch.org/blfs/wiki/xine-lib</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Xine Libraries
        </h2>
        <p>
          Install <span class="application">Xine Libraries</span> by running
          the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr          \
            --disable-vcd          \
            --with-external-dvdnav \
            --docdir=/usr/share/doc/xine-lib-1.2.10 &amp;&amp;
make</kbd>
</pre>
        <p>
          To create the API documentation, <span class=
          "application">Doxygen</span> must be installed and issue the
          following command:
        </p>
        <pre class="userinput">
<kbd class="command">doxygen doc/Doxyfile</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            When installing, the Makefile does some additional linking. If
            you do not have Xorg in /usr, the LIBRARY_PATH variable needs to
            be defined for the root user. If using sudo to assume root, use
            the -E option to pass your current environment variables for the
            install process.
          </p>
        </div>
        <p>
          If you built the API documentation, issue the following commands as
          the <code class="systemitem">root</code> user to install it:
        </p>
        <pre class="root">
<kbd class=
"command">install -v -m755 -d /usr/share/doc/xine-lib-1.2.10/api &amp;&amp;
install -v -m644    doc/api/* \
                    /usr/share/doc/xine-lib-1.2.10/api</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-vcd</code></em>: This switch
          is required to compile <span class="application">Xine Lib</span>
          without <a class="ulink" href=
          "https://ftp.gnu.org/gnu/vcdimager/">VCDImager</a> installed.
          Remove this option if you have installed VCDImager.
        </p>
        <p>
          <em class="parameter"><code>--with-external-dvdnav</code></em>:
          This switch is required, because internal libraries cannot decrypt
          DVD.
        </p>
        <p>
          <em class=
          "parameter"><code>--docdir=/usr/share/doc/xine-lib-1.2.10</code></em>:
          This switch causes the documentation to be installed into a
          versioned directory instead of the default <code class=
          "filename">/usr/share/doc/xine-lib</code>.
        </p>
        <p>
          <code class="option">--disable-vaapi</code>: use this switch if
          <a class="xref" href="../x/x7driver.html#libva" title=
          "libva-2.6.1">libva-2.6.1</a> is installed and <a class="xref"
          href="../x/glu.html" title="GLU-9.0.1">GLU-9.0.1</a> is not, to
          prevent a build failure.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">xine-config and xine-list-1.2</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libxine.so and numerous plugin modules
              and video extensions under /usr/lib/xine/plugins/2.8</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Fonts:</strong> <span class=
              "segbody">Output display engine fonts located in
              /usr/share/xine-lib/fonts</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/xine, /usr/lib/xine,
              /usr/share/xine-lib, and /usr/share/doc/xine-lib-1.2.10</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="xine-config" name="xine-config"></a><span class=
                    "term"><span class=
                    "command"><strong>xine-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides information to programs trying to link with the
                    <span class="application">xine</span> libraries.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xine-list-1.2" name=
                    "xine-list-1.2"></a><span class="term"><span class=
                    "command"><strong>xine-list-1.2</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to get supported filetype information from
                    <span class="application">xine-lib</span>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libxine" name="libxine"></a><span class=
                    "term"><code class="filename">libxine.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides the API for processing audio/video files.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-18 14:50:03 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="x265.html" title="x265-3.3">Prev</a>
          <p>
            x265-3.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="xvid.html" title="XviD-1.3.7">Next</a>
          <p>
            XviD-1.3.7
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
